package com.example.bishe.service.impl;

import com.example.bishe.entity.Bzks_bj;
import com.example.bishe.entity.Bzks_yx;
import com.example.bishe.mapper.Bzks_yxMapper;
import com.example.bishe.service.Bzks_yxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author yws
 * @Date 2022/3/20 20:39
 */
@Service
public class Bzks_yxServiceImpl implements Bzks_yxService {
    @Autowired
    Bzks_yxMapper bzks_yxMapper;

    @Override
    public Bzks_yx[] selectAll() {
        return bzks_yxMapper.selectAll();
    }

    @Override
    public String insert_yx(Bzks_yx yx) {
        bzks_yxMapper.insert_yx(yx);
        return null;
    }

    @Override
    public void delete_yx(Bzks_yx yx) {
        bzks_yxMapper.delete_yx(yx);
    }

    @Override
    public void update_yx(Bzks_yx yx) {
        bzks_yxMapper.update_yx(yx);
    }

    @Override
    public Bzks_yx[] select_yx(Bzks_yx yx) {
        return bzks_yxMapper.select_yx(yx);
    }
}
